<?php
	class MessageModel extends Model{
		public function del_message($mid){
			$da['mid'] = $mid;
			$map['is_del'] = 1;
			$b1 = $this->where($da)->save($map);
			$b2 = D('message_reply')->where($da)->save($map);
			if($b1 && $b2){
				return true;
			}
			
		}
	}
?>